import Layout from '@/layout'

export default {
  path: '/departments', // 1. 访问/employees路由
  component: Layout, //  2. 显示layout
  name: 'departments',
  children: [
    {
      name: 'Departments',
      path: '', // 3. 同时也会匹配到默认子路由 所以会在layout显示默认子路由对应的组件
      component: () => import('@/views/departments'),
      meta: { title: '组织架构', icon: 'tree' }
    }
  ]
}
